package com.platform.license.client;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;

import java.io.Serializable;

/**
 * Description: License校验类需要的参数
 *
 * @author libinal Created on 2019/9/22
 */
@Configuration
@ConfigurationProperties(prefix = "lic.client")
@Data
public class LicenseVerifyParam implements Serializable {

    /**
     * 证书subject
     */
    private String subject;

    /**
     * 公钥别称
     */
    private String publicAlias;

    /**
     * 访问公钥库的密码
     */
    private String storePass;

    /**
     * 证书生成路径
     */
    private String licensePath;

    /**
     * 秘钥库存储路径
     */
    private String publicKeysStorePath;

    /**
     * 序列号
     */
    private String serialNo;

}
